import request from '@/utils/request'

// 查询综合培训管理列表
export function listCoo_train(data) {
  return request({
    url: '/coordination/coo_train/list',
    method: 'post',
    data: data
  })
}

// 查询综合培训管理详细
export function getCoo_train(id) {
  return request({
    url: '/coordination/coo_train/' + id,
    method: 'get'
  })
}

// 新增综合培训管理
export function addCoo_train(data) {
  return request({
    url: '/coordination/coo_train',
    method: 'post',
    data: data
  })
}

// 修改综合培训管理
export function updateCoo_train(data) {
  return request({
    url: '/coordination/coo_train',
    method: 'put',
    data: data
  })
}

// 删除综合培训管理
export function delCoo_train(id) {
  return request({
    url: '/coordination/coo_train/' + id,
    method: 'delete'
  })
}
export function postTrainCount(data) {
  return request({
    url: '/coordination/coo_train/count',
    method: 'post',
    data: data
  })
}
